From 6cb399e7267ae78e3e498bdbf5f51678ffb2cd45 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Tue, 21 Feb 2023 23:24:14 +0100 Subject: feat: Many things Configure sanity in same project as the app Implement type safe sanity schema Read localised documents Strip down design --- src/routes/[lang=lang]/sections/hero.svelte | 61 ++++------------------------- 1 file changed, 7 insertions(+), 54 deletions(-) (limited to 'src/routes/[lang=lang]/sections/hero.svelte') diff --git a/src/routes/[lang=lang]/sections/hero.svelte b/src/routes/[lang=lang]/sections/hero.svelte index 3cdf221..8a874dc 100644 --- a/src/routes/[lang=lang]/sections/hero.svelte +++ b/src/routes/[lang=lang]/sections/hero.svelte @@ -1,7 +1,9 @@ @@ -19,57 +21,8 @@ {#if visible} -
-
-
-
-

{model.title}

- {#if model.content} - - {/if} -
-
-
- -
- -
-
+

{model.title}

+ {#if model.content} + + {/if} {/if} - - -- cgit v1.3